package net.flowas.genericcrud.audit;

import java.util.List;
import java.util.Map;

import javax.transaction.Transactional;

import net.flowas.genericcrud.audit.model.AuditValue;
import net.flowas.genericcrud.audit.model.Comment;

public interface AuditService {
	@Transactional
	void mark(String modelType,ActionType action, Long id,Map<String,Object> data);

	AuditValue get(String modelType, Long id);

	List<Comment> findConments(String modelType, Long id);	
}
